package com.exam.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 答题卡
 * </p>
 *
 * @author rock
 * @since 2021-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Answer implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 答题卡Id
     */
    @TableId(value = "answer_id", type = IdType.AUTO)
    private Integer answerId;

    /**
     * 试卷名称
     */
    private String testPaper;

    /**
     * 选择题答案
     */
    private String oneAnswer;

    /**
     * 多选题答案
     */
    private String manyAnswer;

    /**
     * 判断题答案
     */
    private String judgeAnswer;

    /**
     * 选择题分数
     */
    private Integer oneFraction;

    /**
     * 多选题分数
     */
    private Integer manyFraction;

    /**
     * 判断题分数
     */
    private Integer judgeFraction;

    /**
     * 简答题答案
     */
    private String briefAnswer;

    /**
     * 简答题分数
     */
    private Integer briefFraction;

    /**
     * 考生id
     */
    private Integer userId;

    /**
     * 考试开始时间
     */
    private String startTime;

    /**
     * 考试结束时间
     */
    private String endTime;

    /**
     * 状态(简答题是否批改)
     */
    private Integer status;


}
